﻿using System;

namespace JT808.Gateway.Abstractions
{
    /// <summary>
    /// 通过消息队列进行通知，例如消息处理服务通知网关某终端鉴权成功
    /// </summary>
    public interface IJT808NotifyProducer : IJT808PubSub, IDisposable
    {
        /// <summary>
        /// 发送消息
        /// </summary>
        /// <param name="notifyKey">通知类型</param>
        /// <param name="param">通知附带的参数，多个参数之间用;隔开</param>
        void ProduceAsync(string notifyKey, byte[] param);
    }
}
